package com.ygou.utils;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.ygou.service.solr.GoodsSearchService;

import junit.framework.TestCase;

public class GoodsSearchServiceImplTest extends TestCase {

	public static void main(String[] args) {
		 ApplicationContext context=new ClassPathXmlApplicationContext("classpath:spring/spring-*.xml");
		   GoodsSearchService goodsSearchService
		   =context.getBean(GoodsSearchService.class);
		   
		   System.out.println(goodsSearchService.addfindGoodsAll());
	}
	
}
